package cn.juque.systemservice.entity;

import cn.juque.systemservice.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>菜单</li>
 * </ul>
 * @date 2023-01-06 15:09:48
 **/
@Data
@TableName(value = "SYS_MENU_INFO")
public class MenuInfo extends BaseEntity {

    /**
     * 菜单ID
     */
    @TableId(value = "MENU_ID", type = IdType.INPUT)
    private String menuId;

    /**
     * 菜单名称
     */
    @TableField(value = "MENU_NAME")
    private String menuName;

    /**
     * 上级菜单ID
     */
    @TableField(value = "PARENT_MENU_ID")
    private String parentMenuId;

    /**
     * 权限标识
     */
    @TableField(value = "PERMISSION")
    private String permission;

    /**
     * 菜单类型
     */
    @TableField(value = "MENU_TYPE")
    private String menuType;

    /**
     * 组件路径
     */
    @TableField(value = "COMPONENT_PATH")
    private String componentPath;

    /**
     * 级次码
     */
    @TableField(value = "LEVEL_CODE")
    private String levelCode;

    /**
     * 排序号
     */
    @TableField(value = "SORT_NO")
    private Integer sortNo;

    /**
     * 备注
     */
    @TableField(value = "REMARK")
    private String remark;
}
